Skip to content

Conversation

@saulshanabrook
Copy link
Member

No description provided.

@saulshanabrook
Copy link
Member Author

@actions-user changelog

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a run_report() method to the EGraph class that provides overall statistics about the EGraph by wrapping the (print-stats) command from egglog.

  • Adds new run_report() method to EGraph class that returns overall statistics
  • Updates documentation to explain the translation from (print-stats) to egraph.run_report()
  • Adds basic test coverage and changelog entry

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
python/egglog/egraph.py Implements the new run_report() method using PrintOverallStatistics binding
python/tests/test_high_level.py Adds basic test to verify the method exists and returns a truthy value
docs/reference/egglog-translation.md Documents the mapping from egglog's (print-stats) command to Python method
docs/changelog.md Records the addition of the new method in the unreleased changes

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@saulshanabrook saulshanabrook merged commit 3158446 into main Sep 2, 2025
20 checks passed
@saulshanabrook saulshanabrook deleted the list-function branch September 2, 2025 05:27
@codspeed-hq
Copy link

codspeed-hq bot commented Sep 2, 2025

CodSpeed Instrumentation Performance Report

Merging #339 will not alter performance

Comparing list-function (78cab3c) with main (1a2ee10)1

Summary

✅ 7 untouched benchmarks

Footnotes

  1. No successful run was found on main (78cab3c) during the generation of this report, so 1a2ee10 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants